6e5d9d6e86ce8de47468ba6a8994b9f9eca8960f,com.vainolo.phd.opp.editor/src/com/vainolo/phd/opp/editor/figure/OPPObjectFigure.java,OPPObjectFigure,OPPObjectFigure,#boolean#,38

Before Change


    borderFigure.add(contentPane);

    shade2Figure = createRectangleFigure();
    shade2Figure.setLayoutManager(new XYLayout());
    add(shade2Figure);

    shade1Figure = createRectangleFigure();

After Change



  public OPPObjectFigure() {
    rectangle = createRectangleFigure();
    rectangle.setLayoutManager(new XYLayout());
    nameLabel = new SmartLabelFigure(OPPFigureConstants.TEXT_WIDTH_TO_HEIGHT_RATIO);
    nameLabel.setForegroundColor(OPPFigureConstants.LABEL_COLOR);
    rectangle.add(nameLabel);